Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Warning's gone!

"Don't supress the warnings. Use Vector<?> instead of Vector<String>"

I did this and the warning is gone!

However, I wanted to use Vector<String> cause I know that only Strings will be returned... but I didn't find a way to remove that warning other than using what you said.

Does that means that every time I'm using a Domino method that returns a Vector, I'll have to use the <?> even when I know what is the type returned?

Your suggestion works perfectly!
I'm just trying to understand how all this works.

Thanks a lot!


Feedback response number WEBB8E6KTC created by ~Denise Prehipi on 02/17/2011

"the expression of type vector need... (~Denise Prehipi... 16.Feb.11)
. . Try a different getItemValue method... (~Tate Quetgerob... 16.Feb.11)
. . . . I did... (~Denise Prehipi... 16.Feb.11)
. . Unchecked exception (~Kelly Ekfookon... 16.Feb.11)
. . . . question (~Denise Prehipi... 16.Feb.11)
. . . . Don't supress the warnings. Use Vec... (~Sanjay Quettum... 17.Feb.11)
. . . . . . Warning's gone! (~Denise Prehipi... 17.Feb.11)
. . . . . . . . Late reply (~Sean Minjumivi... 30.Jun.14)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS